{extend name="base"}
{block name="content"}
		<div class="wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:url('AdminLog/index')}">后台操作日志</a></li>
		</ul>
		<form method="post" class="js-ajax-form">
			<table class="table table-hover table-bordered">
				<thead>
					<tr>
						<th align="center">ID</th>
						<th>用户名</th>
						<th>访问链接</th>
						<th width="500">操作数据</th>
						<th>操作时间</th>
						<th>操作IP</th>
					</tr>
				</thead>
				<tbody>
					{empty name="list"}
					<tr><td colspan="6">没有数据</td></tr>
					{else/}
					{volist name="list" id="vo"}
					<tr>
						<td align="center">{$vo.id}</td>
						<td>{$vo.username}</td>
						<td>{$vo.url}</td>
						<td><div style="width:500px;word-wrap:break-word;">{$vo.data}</div></td>
						<td>{$vo.datetime|date='Y-m-d H:i:s',###}</td>
						<td>{$vo.ip}</td>
					</tr>
					{/volist}
					{/empty}
				</tbody>
			</table>
			{notempty name="list"}<div class="pagination text-center">{$list->render()}</div>{/notempty}
		</form>
	</div>
		<script src="__THEMES__/js/common.js"></script>
{/block}